package com.blog.bean;

/**
 * @className: Discuss
 * @description: 留言
 * @author: HCl
 * @createTime: 2020年5月26日 下午7:50:49
 */
public class Discuss {

	private int id;
	private int userid;
	private int objectid;
	private int touserid;
	private int num;
	private String content;
	private int objecttype;
	private String time;
	private int state;
	
	public Discuss() {}

	/**
	 * @param id
	 * @param userid
	 * @param objectid
	 * @param touserid
	 * @param num
	 * @param content
	 * @param objecttype
	 * @param time
	 * @param state
	 */
	public Discuss(int id, int userid, int objectid, int touserid, int num, String content, int objecttype, String time,
			int state) {
		super();
		this.id = id;
		this.userid = userid;
		this.objectid = objectid;
		this.touserid = touserid;
		this.num = num;
		this.content = content;
		this.objecttype = objecttype;
		this.time = time;
		this.state = state;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the userid
	 */
	public int getUserid() {
		return userid;
	}

	/**
	 * @param userid the userid to set
	 */
	public void setUserid(int userid) {
		this.userid = userid;
	}

	/**
	 * @return the objectid
	 */
	public int getObjectid() {
		return objectid;
	}

	/**
	 * @param objectid the objectid to set
	 */
	public void setObjectid(int objectid) {
		this.objectid = objectid;
	}

	/**
	 * @return the touserid
	 */
	public int getTouserid() {
		return touserid;
	}

	/**
	 * @param touserid the touserid to set
	 */
	public void setTouserid(int touserid) {
		this.touserid = touserid;
	}

	/**
	 * @return the num
	 */
	public int getNum() {
		return num;
	}

	/**
	 * @param num the num to set
	 */
	public void setNum(int num) {
		this.num = num;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the objecttype
	 */
	public int getObjecttype() {
		return objecttype;
	}

	/**
	 * @param objecttype the objecttype to set
	 */
	public void setObjecttype(int objecttype) {
		this.objecttype = objecttype;
	}

	/**
	 * @return the time
	 */
	public String getTime() {
		return time;
	}

	/**
	 * @param time the time to set
	 */
	public void setTime(String time) {
		this.time = time;
	}

	/**
	 * @return the state
	 */
	public int getState() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(int state) {
		this.state = state;
	}

	
	
}
